.nav{
    width: 100%;
    height: 60px;
    background-color: #47464A;

    .nav-inner{
        width: 432px;
        height: 60px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: auto;
        a{
            width: 80px;
            height: 60px;
            text-align: center;
            line-height: 60px;
            color: #999;
            font-size: 16px;
            position: relative;
            &:hover{
                color: #fff;
                font-size: 18px;
            }
        }
        .active{
            color: #ef4638;
            &::after{
                content: '';
                width: 1px;
                display: block;
                position: absolute;
                border-left: 7px solid transparent;
                border-bottom: 8px solid #fff;
                border-right: 7px solid transparent;
                left: calc(50% - 7px);
                bottom: 0;
            }
        }

    }
}
.category{
    width: 1120px;
    height: 225px;
    margin: 0 auto;
    border: 1px solid #ccc;
    color: #2d98f3;
    padding: 0 20px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 10px;
    .top,.bottom,.middle{
        
        width: 1078px;
        height: 74px;
        display: flex;
        border-bottom: 1px solid #ccc;
        align-items: center;
        .left{
            width: 40px;
            span{
                display: block;
                width: 45px;
                font-size: 14px;
                color: #47464A;
            }
        }
        .right{
            display: flex;
            flex-wrap: wrap;
            align-content: space-around;
            a{
                display: block;
                width: 68px;
                height: 27px;
                text-align: center;
                line-height: 27px;
                align-items: center;
                color: #000;
                &:hover{
                    color: #2d98f3;
                }
            }
            .active{
                background-color: #ef4638;
                border-radius: 40px;
                color: #fff;
            }
        }
    }
}
.movie-list-hot,
.movie-list-come,
.movie-list-classics{

    width: 1200px;
    height: 740px;
    padding: 10px 30px 20px;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    background-color: #454445;
    border-radius: 20px;
    img{
        width: 170px;
        height: 230px;
    }
    h2{
        height: 50px;
        margin: 15px 0;
        color: #fff;
        font-size: 14px;
        font-weight: normal;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        .active{
            background-color: #ef4638;
            &::after{
                background-color: #fff;
            }
        }
        span{
            display: block;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            position: relative;
            display: flex;
            border: 2px solid #c5c5c5;
            cursor: pointer;
            &::after{
                content: '';
                display: block;
                width: 8px;
                height: 8px;
                border-radius: 50%;
                margin: auto;
            }
        }
        i{
            padding: 0 10px 0 5px;
        }
    }
    .list{
        display: flex;
        flex-wrap: wrap;
        height: 620px;
        justify-content: space-between;
        align-content: space-between;
        .item{
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 290px;
            background-color: #fff;
            .photo{
                position: relative;
                overflow: hidden;
                &:hover{
                    transition: all .3s;
                    transform: scale(1.1,1.1);
                    .img-hover{
                        display: block;
                        opacity: 1;
                    }
                    a{
                        transform: translate(0,-68px);
                    }
                }
                a{
                    position: absolute;
                    display: block;
                    padding: 5px;
                    background-color: #ef4638;
                    color: #fff;
                    bottom: 5px;
                    right: 5px;
                    font-size: 12px;
                }
                .img-hover{
                    transition: all .3s;
                    background-color: #fff;
                    height: 35%;
                    width: 100%;
                    position: absolute;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    bottom: 0;
                    left: 0;
                    padding: 20px;
                    overflow: hidden;
                    border: 0;
                    opacity: 0;
                    h1{
                        font-size: 18px;
                        color: #000;
                        font-weight: normal;
                    }
                    p{
                        font-size: 14px;
                        color: #000;
                        span{
                            color: #999;
                            font-size: 14px;
                        }
                    }
                }
            }
            a{
                text-align: center;
                font-size: 17;
                color: #000;
            }
            span{
                text-align: center;
                color: #ffb400;
                font-size: 22px;
                font-style: italic;
            }
        }
    }
}
.unshow{
    display: none;
}
.movie-list-come,
.movie-list-classics{
    h2{
        font-size: 26px;
        color: #ef4638;
    }
}
.check-page{
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 1200px;
    margin-bottom: 10px;
    a{
        display: block;
        padding: 10px  15px;
        background-color: #fff;
        color: #000;
        height: 20px;
        line-height: 20px;
        margin:  0 10px;
        &:first-child,&:last-child{
            background-color: #f03d37;
            color: #fff;
        }
        &:hover{
            background-color: #f03d37;
            color: #fff;
        }
    }
}
